package com.ddstation.onsitelaw.utils;

/**
 * 常量配置文件
 *
 * @author 陆青龙
 */
public class Constant {
    /**
     * 阿里云OSS地址，这里看根据你的oss选择
     */
    public static String ossendpoint = "https://oss-cn-hangzhou.aliyuncs.com";
    /**
     * 阿里云OSS账号
     */
    public static String accessKeyId = "ynKA8IvHrB0k6PkY";
    /**
     * 阿里云OSS密钥
     */
    public static String accessKeySecret = "a2wqcHPLIFFE30IgIfZKz8mmif4hMO";
    /**
     * 阿里云OSS上的存储块bucket名字   wenuan-invs
     */
    public static String bucketName = "wn-test";
    public static Integer urlvaildtime = 3600000;
    /**
     * 百度模板文字识别URL
     */
    public static String recogniseUrl = "https://aip.baidubce.com/rest/2.0/solution/v1/iocr/recognise";

    public static final int POOL_SIZE = 20;
    public static final String CODE_NAME = "errCode";
    public static final String MSG_NAME = "errMsg";
    public static final Integer ERR_CODE = 0;
    public static final Integer SUCCESS_CODE = 1;
    public static final String ERR_CODE_MSG = "服务器繁忙，请稍后再试。";
    public static final String SUCCESS_CODE_MSG = "请求成功";

    public static final String PC = "pc";
    public static final String APP = "app";
    public static final String VERSION = "6.0.9";

    public static final int PRESCRIPTION_TYPE_WEST = 20;//处方 OR 药品 类型 20：西药

    /**
     * 门诊 执业范围 医生
     */
    public static final String CODE_SCOPE_PRACTICE = "scope_practice";

    /**
     * 门诊 职称 医生
     */
    public static final String CODE_TECHNICAL_TITLE = "technical_title";

    /**
     * 门诊 抗菌药物标记
     */
    public static final String CODE_ANTIBIOSIS_FLG = "antibiosis_flg";

    public static final String ALARM_TARGET = "ZhangDiFeng,JinXiongJun,BaoZhenYuan,ZhengXiaoBin,ShangGuanFuLong,";

    /**
     * 企业微信相关配置
     */
    public final static String token = "0cmJX9Eo14";
    public final static String encodingAesKey = "T38jEeXqmj3KQortjYwCeDs3PiyndNOI0TLbOgQqRVh";
    public final static String corpId = "wwf9b6273d6491bf4e";
    public final static String suiteId = "wwf40761bb3c9b8f04";
    public final static String secret = "4a-UDQpECxDaOIlbFUWrvVHdLsyeHgwgc9893P_kl_c";


    /**
     * 钉钉相关配置
     */

    private static final String HOST = "https://oapi.dingtalk.com";

    /**
     * 钉钉网关 gettoken 地址
     */
    public static final String URL_GET_TOKEN = HOST + "/gettoken";

    /**
     * 获取 jsapi_ticket 地址
     */
    public static final String URL_GET_JSTICKET = HOST + "/get_jsapi_ticket";

    /**
     * 获取用户在企业内 userId 的接口URL
     */
    public static final String URL_GET_USER_INFO = HOST + "/user/getuserinfo";

    /**
     * 获取用户姓名的接口URL
     */
    public static final String URL_USER_GET = HOST + "/user/get";

}
